// 引入路由
const Router = require("koa-router");
const home = new Router();

home.get("/banner", async (ctx) => {
  ctx.body = "轮播";
});
home.get("/footer", async (ctx) => {
  ctx.body = "底部";
});

// 导出
module.exports = home;
